<?php
namespace app\index\controller;
use app\index\controller\Home;


class Error  extends Home
{
    /**
     * 控制器名不正确时,自动调到404页面
     * @return \think\response\View
     */
    public function index()
    {
        $this->assign("title","404");
        return view("Error/404");
    }
    
    
}
?>